﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;

namespace CIS.Server.Common.Responses
{
    /// <summary>
    /// 返回结果封装
    /// </summary>
    public class ResponseResult
    {
        /// <summary>
        /// 状态代码
        /// </summary>
        public HttpStatusCode StatusCode {  get; set; }

        /// <summary>
        /// 返回消息
        /// </summary>
        public string? Message { get; set; }

        /// <summary>
        /// 是否成功
        /// </summary>
        public bool IsSuccess { get; set; }


        /// <summary>
        /// 返回数据
        /// </summary>
        public object? Data { get; set; }
    }
}
